We are migrating the bug tracker to github Issues. This is now the preferred way to report NASM bugs.

Self-registration is disabled due to spam issue (mail gorcunov@gmail.com or hpa@zytor.com to create an account)

Bug 3392593 - nasm git commit d66927a677f75d3c3f5e835054f19f80b4b27179 error
Summary: nasm git commit d66927a677f75d3c3f5e835054f19f80b4b27179 error
Status: RESOLVED FIXED
Alias: None
Product: NASM
Classification: Unclassified
Component: Assembler (show other bugs)
Version: 2.15.xx
Hardware: All All
: Medium blocker
Assignee: nobody
URL:
Depends on:
Blocks:
 
Reported: 2019-08-09 11:58 PDT by E. C. Masloch
Modified: 2019-08-09 12:30 PDT (History)
4 users (show)

Obtained from: Built from git using configure
Generated by: ---
Bug category:
Observed for: ---
Regression: ---
Regression since:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description E. C. Masloch 2019-08-09 11:58:57 PDT
One usage that should be "nasm_infof" reads "nasm_intof" incorrectly. This patch fixes the error and allows building:

$ git diff include
diff --git a/include/error.h b/include/error.h
index 85fcbe06..fde99e01 100644
--- a/include/error.h
+++ b/include/error.h
@@ -59,7 +59,7 @@ void printf_func(2, 3) nasm_listmsgf(errflags flags, const char *fmt, ...);
 void printf_func(1, 2) nasm_debug(const char *fmt, ...);
 void printf_func(2, 3) nasm_debugf(errflags flags, const char *fmt, ...);
 void printf_func(1, 2) nasm_info(const char *fmt, ...);
-void printf_func(2, 3) nasm_intof(errflags flags, const char *fmt, ...);
+void printf_func(2, 3) nasm_infof(errflags flags, const char *fmt, ...);
 void printf_func(2, 3) nasm_warn(errflags flags, const char *fmt, ...);
 void printf_func(1, 2) nasm_nonfatal(const char *fmt, ...);
 void printf_func(2, 3) nasm_nonfatalf(errflags flags, const char *fmt, ...);
$
Comment 1 H. Peter Anvin 2019-08-09 12:30:34 PDT
Thanks, fix checked in!